Program of short range communication apparatus, program of portable apparatus and system comprising these apparatuses

ABSTRACT

A non-transitory computer-readable storage medium storing computer-readable instructions for a short range communication apparatus, when executed by a processor of the short range communication apparatus, may cause the short range communication apparatus to perform: receiving connection information from an image forming apparatus via a short range wireless communication established between a short range communication interface and the image forming apparatus; and storing the received connection information in a memory, sending the connection information, portable-program-identification information, and an executing instruction to the portable apparatus via the wireless interface, the portable-program-identification information being information for identifying the portable program, the executing instruction being an instruction for the portable program to establish the second wireless communication with the image forming apparatus using the connection information.

CROSS REFERENCE TO RELATED APPLICATION

This application claims priority from Japanese Patent Application No.2016-062109 filed Mar. 25, 2016. The entire content of the priorityapplication is incorporated herein by reference.

TECHNICAL FIELD

The technique disclosed herein relates to a short range communicationapparatus, and a portable apparatus capable of executing a communicationwith the short range communication apparatus.

DESCRIPTION OF RELATED ART

A technique is known in which a portable apparatus establishes awireless communication with an image forming apparatus by usingconnection information. Specifically, the portable apparatus receivesthe connection information from the image forming apparatus via a firstinterface, and establishes the wireless communication via a secondinterface by using that connection information.

SUMMARY

In the aforementioned technique, a user of the portable apparatus cannotinstruct the image forming apparatus to form an image in a case wherethe portable apparatus cannot use the first interface.

A non-transitory computer-readable storage medium disclosed herein maystore computer-readable instructions for a short range communicationapparatus, wherein the short range communication apparatus may comprise:a memory; a short range communication interface configured to execute ashort range wireless communication with an external apparatus, the shortrange wireless communication being established by a trigger that adistance between the short range communication interface and theexternal apparatus becomes equal to or less than a short range distance;and a wireless interface configured to execute a first wirelesscommunication with an external apparatus, the first wirelesscommunication having a longer communication distance than the shortrange wireless communication, the computer-readable instructions, whenexecuted by a processor of the short range communication apparatus,cause the short range communication apparatus to perform: receivingconnection information from an image forming apparatus via the shortrange wireless communication established between the short rangecommunication interface and the image forming apparatus; and storing thereceived connection information in the memory, wherein the connectioninformation is necessary information for a portable apparatus to executea second wireless communication with the image forming apparatus, theportable apparatus is an apparatus capable of executing a portableprogram for instructing the image forming apparatus to form an image viathe second wireless communication, the second wireless communication hasa longer communication distance than the short range wirelesscommunication; and the computer-readable instructions cause the shortrange communication apparatus to further perform sending the connectioninformation, portable-program-identification information, and anexecuting instruction to the portable apparatus via the wirelessinterface, the portable-program-identification information beinginformation for identifying the portable program, the executinginstruction being an instruction for the portable program to establishthe second wireless communication with the image forming apparatus usingthe connection information.

Another non-transitory computer-readable storage medium disclosed hereinmay store computer-readable instructions for a portable apparatus,wherein the portable apparatus may comprise: a memory; a user interface;a first wireless interface configured to execute a first wirelesscommunication with an external apparatus, the first wirelesscommunication having a longer communication distance than a short rangewireless communication; and a second wireless interface configured toexecute a second wireless communication with an external apparatus, thesecond wireless communication having a longer communication distancethan the short range wireless communication, the computer-readableinstructions, when executed by a processor of the portable apparatus,cause the portable apparatus to perform: accepting a first operation forinstructing an image forming apparatus to form an image via the userinterface; and accepting a second operation via the user interface,wherein the second operation is an operation for instructing to executethe second wireless communication with the image forming apparatus viathe second wireless interface using connection information received froma short range communication apparatus, the short range communicationapparatus is an apparatus which obtains the connection information fromthe image forming apparatus via the short range wireless communication,the computer-readable instructions cause the portable apparatus tofurther perform: receiving the connection information from the shortrange communication apparatus via the first wireless interface; causingthe second wireless interface to establish the second wirelesscommunication with the image forming apparatus using the connectioninformation in response to the receiving of the connection information,the accepting of the first operation, and the accepting of the secondoperation; and instructing the image forming apparatus to form the imagevia the second wireless interface establishing the second wirelesscommunication.

Notably, the short range communication apparatus and the portableapparatus for implementation of the aforementioned technique are alsonovel and useful. Further, a communication system comprising the shortrange communication apparatus and a portable apparatus is also novel anduseful.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram showing a configuration of a network;

FIG. 2 is a sequence diagram of a pairing process, wearable IDregistration process, and terminal ID registration process of first tothird embodiments;

FIG. 3 is a sequence diagram of a continuation of FIG. 2;

FIG. 4 is a sequence diagram of an SSID receiving process of the firstembodiment;

FIG. 5 is a sequence diagram of a continuation of FIG. 4;

FIG. 6 is a sequence diagram of a continuation of FIG. 5;

FIG. 7 is a sequence diagram of a print process of the first embodiment;

FIG. 8 is a sequence diagram of an SSID receiving process of the secondembodiment;

FIG. 9 is a sequence diagram of a continuation of FIG. 8;

FIG. 10 is a sequence diagram of a print process of the second and thirdembodiments; and

FIG. 11 is a sequence diagram of an SSID receiving process of the thirdembodiment.

EMBODIMENT First Embodiment

FIG. 1 is a block diagram showing a configuration of a network 10. Thenetwork 10 comprises a first communication terminal apparatus 100, asecond communication terminal apparatus 300, an MFP 51, and a wearableapparatus 200. Here, MFP (abbreviation of Multifunction Peripheral)indicates a multifunction peripheral apparatus comprising a printfunction, a scan function, and a copy function.

The communication terminal apparatuses 100, 300 are portable apparatusessuch as, e.g. a smart phone, a tablet, etc. The first communicationterminal apparatus 100 comprises a display 102, a user I/F 104, awireless LAN I/F 105, a BT communication I/F 112, a CPU 106, a memory109, etc. and these are connected with one another via an input-outputport 110.

The display 102 is, e.g. an LCD or an organic EL panel. The user I/F 104may be a touch sensor disposed so as to overlap the display 102. Theuser I/F 104 may be an operation button. The CPU 106 accepts, via theuser I/F 104, a user operation for designating an object displayed onthe display 102, and a user operation for inputting a character stringor a number string. “Object” includes, e.g., a character string, anicon, a button, a link, etc.

The BT communication I/F 112 is an interface for executing a BTcommunication 135 conforming to Bluetooth (registered trademark ofBluetooth SIG) standard. A communication distance of the BTcommunication 135 is longer than a communication distance of an NFCcommunication 145 conforming to NFC (abbreviation of Near FieldCommunication) standard, to be described. The wireless LAN I/F 105 is aninterface for executing a WFD communication 155 conforming to Wi-FiDirect (registered trademark of Wi-Fi Alliance, referred to as WFDbelow) standard. Notably, the wireless LAN I/F 105 may also be capableof executing a WF communication conforming to Wi-Fi (registeredtrademark of Wi-Fi Alliance) standard. Communication distances of theWFD communication 155 and the WF communication are longer than thecommunication distances of the NFC communication 145 and the BTcommunication 135.

The CPU 106 executes a program stored in the memory 109. The memory 109temporarily stores information necessary for processes of the CPU 106.The memory 109 is constituted by a combination of a ROM, a RAM, a flashmemory, an HDD, a buffer of the CPU 106, etc. Image data and the likecan be stored in the memory 109. The memory 109 stores a program 120.The program 120 comprises a terminal application 121, and an operatingsystem 124 (referred to as OS 124 below).

The terminal application 121 is an application program for causing theCPU 106 to execute a process of instructing the MFP 51 to print imagedata, etc. The OS 124 is, e.g., Android (registered trademark of GoogleInc.) OS, iOS (registered trademark of Cisco Systems, Inc.), or thelike. The OS 124 includes a program for causing each of the wireless LANI/F 105 and the BT communication I/F 112 to execute a wirelesscommunication. It should be noted that the second communication terminalapparatus 300 comprises the same configuration as the firstcommunication terminal apparatus 100, but is illustrated in a simplifiedmanner.

The MFP 51 mainly comprises a CPU 32, a memory 33, a wireless LAN I/F34, an NFC communication I/F 36, a user I/F 38, a display 39, a printer19, and a scanner 20. These constituent elements are capable ofcommunicating with one another via an input-output port 43. The CPU 32,the memory 33, the wireless LAN I/F 34, the user I/F 38, and the display39 comprise the same configurations respectively as the CPU 106, thememory 109, the wireless LAN I/F 105, the user I/F 104, and the display102.

The CPU 32 executes a program 21 stored in the memory 33. The memory 33stores the program 21. The program 21 includes an OS 29, etc.

The NFC communication I/F 36 is an interface for executing the NFCcommunication 145. The NFC standard of the present embodiment is, e.g.,a standard based on international standard ISO/IEC 21481 or 18092. Inthe present embodiment, an NFC communication I/F 226 of the wearableapparatus 200 executes a Poll operation that repeatedly outputs apolling signal. The NFC communication I/F 226 monitors the pollingsignal, and executes a Listen operation that outputs a response signalon condition of receiving the polling signal. When the wearableapparatus 200 and the MFP 51 approach each other with a distancetherebetween being equal to or less than the NFC communication distance,the polling signal and the response signal are exchanged, and a link ofthe NFC communication 145 is established according to a predeterminedprocedure conforming to the NFC standard. That is, the NFC communication145 is a wireless communication established by a trigger that a distancebetween apparatuses (more specifically, between NFC communication I/Fs)becomes equal to or less than a short range distance. Notably, the MFP51 may execute the Poll operation, and the wearable apparatus 200 mayexecute the Listen operation. The printer 19 comprises a mechanicalconfiguration for executing a print using image data stored in thememory 33. The scanner 20 comprises a mechanical configuration forexecuting a reading.

The wearable apparatus 200 is a wrist band type apparatus (e.g., awristwatch). The wearable apparatus 200 mainly comprises a CPU 206, amemory 209, a BT communication I/F 225, the NFC communication I/F 226, adisplay 203, and a user I/F 204. These are connected with one anothervia an input-output port 210. The CPU 206, the memory 209, the BTcommunication I/F 225, the NFC communication I/F 226, the display 203,and the user I/F 204 comprise the same configuration respectively as theCPU 106, the memory 109, the BT communication I/F 112, the NFCcommunication I/F 36, the display 102, and the user I/F 104.

The CPU 206 executes a program 220 stored in the memory 209. The memory209 stores the program 220. The program 220 comprises a wearableapplication 221, and an operating system 224 (referred to as OS 224below).

A pairing process, a wearable ID registration process, and a terminal IDregistration process will be described using FIG. 2. In S10, the CPU 106of the first communication terminal apparatus 100 activates the terminalapplication 121 in accordance with a user operation. It should be notedthat, below, when describing the execution subject of each process, theCPU 106 of the first communication terminal apparatus 100 operating inaccordance with the terminal application 121 may be abbreviated tosimply “terminal application 121”. Further, the CPU 106 of the firstcommunication terminal apparatus 100 operating in accordance with the OS124 may be abbreviated to simply “first communication terminal apparatus100”. The wearable application 221 and the OS 224 of the wearableapparatus 200 may be referred to in the same manner. The OS 29 of theMFP 51 may be referred to in the same manner.

In S15, the terminal application 121 displays a main screen of theterminal application 121 on the display 102. The main screen includes aprinter setting button and an image data selecting button.

In S20, the terminal application 121 determines whether or not it hasaccepted the user operation of selecting the printer setting button. Thefirst communication terminal apparatus 100 proceeds to S25 in a case ofa positive determination in S20 (YES in S20), and proceeds to S310 ofFIG. 5 in a case of a negative determination in S20 (NO in S20).

In S25, the terminal application 121 displays a communication schemeselection screen on the display 102. The communication scheme selectionscreen includes a Bluetooth button and a Wi-Fi button. In the presentembodiment, a case will be described in which the terminal application121 accepted the user operation of selecting the Bluetooth button inS30. Notably, in a case of accepting the user operation of selecting theWi-Fi button in S30, the terminal application 121 may further accept theuser operation of designating an IP address of the MFP, and may storethe designated IP address in the memory 109 as an IP address foridentifying a target MFP, to be described.

In S33, the terminal application 121 determines whether or not thememory 109 has stored one or more wearable IDs. Each of the one or morewearable IDs includes information for identifying a wearable apparatus,and wearable application identification information for identifying thewearable application 221. The information for identifying a wearableapparatus may be a MAC address of the wearable apparatus. The wearableapplication identification information may be a URL indicating thewearable application 221. The URL indicating the wearable application221 will be also referred to as “wearable URL” below. The wearable URLis determined in advance by a manufacturer of the wearable application221, or by a manufacturer of the OS. Further, the wearable URL can alsobe said to be information for identifying the manufacturer of thewearable application 221. The memory 109 stores a list of wearable IDsthat were registered in the past in the memory 109 by the terminalapplication 121 by means of the wearable ID registration process, to bedescribed. The terminal application 121 proceeds to S35 in a case of apositive determination in S33 (YES in S33), and proceeds to S55 in acase of a negative determination in S33 (NO in S33).

In S35, the terminal application 121 displays, on the display 102, an IDselection screen that includes buttons corresponding respectively to theone or more wearable IDs stored in the memory 109, and a newregistration button.

In S40, the terminal application 121 determines whether or not it hasaccepted the user operation of selecting the button corresponding to thewearable ID. The first communication terminal apparatus 100 proceeds toS45 in a case of a positive determination in S40 (YES in S40), andproceeds to S50 of in a case of a negative determination in S40 (NO inS40).

In S45, the terminal application 121 stores the wearable ID indicated bythe selected button in the memory 109 as a target wearable ID. It shouldbe noted that, below, storing in the memory is also described asregistering in the memory. Upon ending S45, the terminal application 121returns to S15.

In S50, the terminal application 121 determines whether or not it hasaccepted the user operation of selecting the new registration button.The terminal application 121 proceeds to S55 in a case of a positivedetermination in S50 (YES in S50), and returns to S40 in a case of anegative determination in S50 (NO in S50). Notably, the ID selectionscreen may further include a button corresponding to the MFP. In a caseof accepting the user operation of selecting the button corresponding tothe MFP, the terminal application 121 may store, in the memory 109, a BTaddress of the MFP indicated by the button as a BT address identifyingthe target MFP, to be described. The BT address is a MAC address used inthe BT communication.

In S55, the terminal application 121 sends a discovery signal inaccordance with the Bluetooth standard. Each of wearable apparatusesthat have received the discovery signal returns supplementaryinformation and a MAC address. Notably, there exist wearable apparatusesthat do not return the supplementary information. In S60, the terminalapplication 121 receives the supplementary information and the MACaddresses from the wearable apparatuses via the BT communication I/F112. The supplementary information may include information predeterminedby manufacturers of the wearable apparatuses. That is, the supplementaryinformation can also be said to be information indicating themanufacturers of the wearable apparatuses. The supplementary informationmay be information indicating a device name or information indicating atype of wearable apparatus.

In S65, the terminal application 121 displays, on the display 102,buttons corresponding respectively to the one or more MAC addressesreceived in S60. Each of the buttons may show the correspondingsupplementary information, or the MAC address. The terminal application121 may not display a corresponding button for a wearable apparatus onlythe MAC address of which could be received. Further, the terminalapplication 121 may not display a corresponding button for a wearableapparatus the received supplementary information of which does notindicate the manufacturer of the terminal application 121.

In S110 of FIG. 3, the terminal application 121 accepts the useroperation of selecting any of the buttons. Hereafter, in the presentembodiment, a case will be described in which the button correspondingto the wearable apparatus 200 was selected.

In S115, the terminal application 121 inputs, to the OS 124, the MACaddress corresponding to the selected button. The OS 124 stores, in thememory 109, the inputted MAC address as pairing information foridentifying a Bluetooth terminal that has been already paired, and sendspairing instruction information to the wearable apparatus 200. The OS224 which received the pairing instruction information stores the MACaddress of the first communication terminal apparatus 100 as pairinginformation in the memory 209. By means of the BT communication 135, theterminal application 121 sends, via the OS 124, a registration request,a terminal ID, and the wearable URL indicating the wearable application221, to the wearable apparatus 200 identified by the MAC addresscorresponding to the selected button. The wearable application 221receives the registration request, the terminal ID, and the wearable URLfrom the first communication terminal apparatus 100 via the BTcommunication I/F 225. The terminal ID includes information foridentifying the first communication terminal apparatus 100, and terminalapplication identification information indicating the terminalapplication 121 itself. The information for identifying thecommunication terminal apparatus may be a MAC address of thecommunication terminal apparatus. The terminal applicationidentification information may be a URL. The URL that indicates theterminal application 121 will be also referred to as “terminal URL”hereafter. The terminal URL is determined in advance by the manufacturerof the terminal application 121, or the manufacturer of the OS. Further,the terminal URL can also be said to be information for identifying themanufacturer of the terminal application 121. Further, the terminal IDis adapted to a specific format decided by the manufacturer of theterminal application 121. Therefore, the entire terminal ID can also besaid to be the information for identifying the manufacturer of theterminal application 121.

In S120, the wearable apparatus 200 determines whether or not thewearable application 221 indicated by the wearable URL received in S115is running. The wearable apparatus 200 proceeds to S130 in a case of apositive determination in S120 (YES in S120), and proceeds to S125 in acase of a negative determination in S120 (NO in S120).

In S125, the wearable apparatus 200 activates the wearable application221 and, in S130, supplies the information received in S115 to thewearable application 221. Further, in a case where the wearableapplication 221 has not been installed in the wearable apparatus 200,the wearable apparatus 200 accesses a server storing the wearableapplication 221, and executes a process for installing the wearableapplication 221. Notably, the wearable apparatus 200 executes theprocesses of S120 to S130 in accordance with the OS 224.

In S135, the wearable application 221 determines whether or not theterminal ID received in S115 includes a terminal URL indicating themanufacturer of the wearable application 221. The wearable application221 proceeds to S140 in a case of a positive determination in S135 (YESin S135), and ends the process of FIG. 3 in a case of a negativedetermination in S135 (NO in S135).

In S140, the wearable application 221 stores the received terminal ID inthe memory 209 as a target terminal ID. In S145, the wearableapplication 221 sends a registration OK notification, the wearable ID,and the terminal URL to the first communication terminal apparatus 100.The terminal application 121 receives the registration OK notification,the wearable ID, and the terminal URL from the wearable apparatus 200.

In S150, the terminal application 121 determines whether or not thewearable ID received in S145 includes a wearable URL indicating themanufacturer of the terminal application 121 itself. The terminalapplication 121 proceeds to S155 in a case of a positive determinationin S150 (YES in S150), and returns to S15 of FIG. 2 in a case of anegative determination in S150 (NO in S150). The terminal application121 also returns to S15 of FIG. 2 in a case where the registration OKnotification, etc. could not be received even after waiting for apredetermined period after S115.

In S155, the terminal application 121 stores the received wearable ID inthe memory 109 as the target wearable ID.

An SSID receiving process will be described using FIGS. 4 to 6. FIG. 4is a flowchart started when the user brings the wearable apparatus 200into proximity of the MFP 51 (S210). Due to this, in S215, the wearableapparatus 200 and the MFP 51 establish the NFC communication 145therebetween.

In S220, the wearable application 221 receives from the MFP 51, via theNFC communication 145, an SSID of a WFD network formed by the MFP 51, amodel name indicating a manufacturer of the MFP 51, and an IP addressfor identifying the MFP 51. The SSID and the IP address are examples ofconnection information. The model name is an example of information foridentifying the manufacturer of the MFP.

In S225, the wearable application 221 determines whether or not themanufacturer of the MFP 51 indicated by the model name received in S220matches the manufacturer of the wearable application 221. The wearableapplication 221 proceeds to S230 in a case of a positive determinationin S225 (YES in S225), and ends the process of FIG. 4 in a case of anegative determination in S225 (NO in S225).

In S230, the wearable application 221 determines whether or not thetarget terminal ID has been registered. The wearable application 221proceeds to S235 in a case of a positive determination in S230 (YES inS230), and ends the process of FIG. 4 in case of a negativedetermination in S230 (NO in S230).

In S235, the wearable application 221 stores the received SSID, modelname, and IP address in the memory 209. Upon ending S235, the wearableapplication 221 ends the process of FIG. 4.

In S310 of FIG. 5, in response to accepting the user operation ofinstructing an image selection screen to be displayed, the terminalapplication 121 displays, on the display 102, the image selection screenwhich includes thumbnails corresponding to respective one or more piecesof image data. In S315, the terminal application 121 accepts, via theuser I/F 104, the user operation of selecting any of the thumbnails. Theuser operation for instructing the image selection screen to bedisplayed, and the user operation of selecting the thumbnail areexamples of an operation for instructing the MFP 51 to form an image.

In S320, the terminal application 121 displays, on the display 102, aprint preview image of the image data corresponding to the selectedthumbnail.

In S325, the terminal application 121 determines whether or not theinformation for identifying the target MFP is stored in the memory 109.The terminal application 121 proceeds to S330 in a case of a positivedetermination in S325 (YES in S325), and proceeds to S335 in a case of anegative determination in S325 (NO in S325).

In S330, the terminal application 121 displays a first print button onthe display 102.

In S335, the terminal application 121 determines whether or not thetarget wearable ID is stored in the memory 109. The terminal application121 proceeds to S340 in a case of a positive determination in S335 (YESin S335), and ends the process of FIG. 5 in a case of a negativedetermination in S335 (NO in S335). Hereafter, a case will be describedin which the wearable ID indicating the wearable apparatus 200 is storedas the target wearable ID.

In S340, the terminal application 121 determines whether or not the BTcommunication 135 is being established with the wearable apparatus 200.The terminal application 121 proceeds to S350 in a case of a positivedetermination in S340 (YES in S340), and proceeds to S345 in a case of anegative determination in S340 (NO in S340). In S345, the terminalapplication 121 establishes the BT communication 135 with the wearableapparatus 200 via the OS 124. For example, in a case where a Bluetoothfunction of the OS 124 had been turned off, the Bluetooth function isturned on.

In S350, the terminal application 121 sends an SSID sending instruction,the wearable URL, and the terminal ID to the wearable apparatus 200. Thewearable application 221 receives the SSID sending instruction, thewearable URL, and the terminal ID from the first communication terminalapparatus 100 via the BT communication I/F 225.

In S405 of FIG. 6, the terminal application 121 determines whether ornot the first print button has been selected by the user. In a case of apositive determination in S405 (YES in S405), the terminal application121 establishes a communication with the MFP 51 in S408, and sends theimage data to the MFP 51 in S535 of FIG. 7. In a case of a negativedetermination in S405 (NO in S405), the terminal application 121proceeds to S475. In a case where the IP address for identifying thetarget MFP and the SSID are being stored in association with each otherin the memory 109, the terminal application 121 may establish the WFDcommunication 155 in S408. In a case where only the IP address foridentifying the target MFP is being stored in the memory 109, theterminal application 121 may not execute S408, and in S535, may send theimage data corresponding to the thumbnail selected in S315, and a printinstruction of the image data to the target MFP via the WF communicationto which the terminal application 121 has already been connected. In acase where the BT address for identifying the target MFP is being storedin the memory 109, in S408, the terminal application 121 may establish aBT communication between the first communication terminal apparatus 100and the target MFP 51.

In S410 to S420 of FIG. 6, the wearable application 221 executes thesame operations as S120 to S130.

In S423, the wearable application 221 determines whether or not aterminal ID matching the terminal ID received in S350 of FIG. 5 is beingstored in the memory 209 as the target terminal ID. The wearableapplication 221 proceeds to S425 in a case of a positive determinationin S423 (YES in S423), and ends the process of FIG. 6 in a case of anegative determination in S423 (NO in S423).

In S425, in response to the inclusion of the SSID sending instruction inthe information supplied from the OS 224 in S420, the wearableapplication 221 determines whether or not the SSID, etc. received fromthe MFP 51 is being stored in the memory 209. The wearable application221 proceeds to S465 in a case of a positive determination in S425 (YESin S425), and proceeds to S430 in a case of a negative determination inS425 (NO in S425).

In S430, the wearable application 221 displays, on the display 203, anNFC instruction screen which suggests making a distance between thewearable apparatus 200 and the MFP 51 equal to or less than apredetermined short range distance. S435 to S445 are respectively thesame as S210 to S220 of FIG. 4.

In S450, the wearable application 221 determines whether or not themanufacturer of the MFP 51 indicated by the model name received in S445matches the manufacturer of the terminal application 121 indicated bythe terminal URL supplied in S420. Notably, in S450, the wearableapplication 221 may determine whether or not the manufacturer of the MFP51 matches the manufacturer of the wearable application 221. Both thedeterminations are substantially the same. The wearable application 221proceeds to S455 in a case of a positive determination in S450 (YES inS450), and ends the process of FIG. 6 in a case of a negativedetermination in S450 (NO in S450). S455 to S460 are the same as S230 toS235 of FIG. 4.

In S475, the wearable application 221 sends, via the BT communicationI/F 225, the SSID, the model name, the IP address, the terminal URL, thewearable ID, and an executing instruction to the first communicationterminal apparatus 100 identified by the terminal ID supplied in S420.The terminal application 121 receives the SSID, etc. from the wearableapparatus 200 via the BT communication I/F 112. S475 is an example ofsending connection information, portable-program-identificationinformation, and an executing instruction.

In S480, the terminal application 121 determines whether or not the SSIDhave been received from the wearable apparatus 200. The terminalapplication 121 proceeds to S510 of FIG. 7 in a case of a positivedetermination in S480 (YES in S480), and returns to S405 in a case of anegative determination in S480 (NO in S480).

A print process will be described using FIG. 7. S510 is the same asS450. The terminal application 121 proceeds to S515 in a case of apositive determination in S510 (YES in S510), and ends the process ofFIG. 7 in a case of a negative determination in S510 (NO in S510).

In S515, the terminal application 121 determines whether or not thewearable ID received in S475 of FIG. 6 has been registered as the targetwearable ID. The terminal application 121 proceeds to S520 in a case ofa positive determination in S515 (YES in S515), and ends the process ofFIG. 7 in a case of a negative determination in S515 (NO in S515).

In S520, the terminal application 121 causes the wireless LAN I/F 105 toestablish the WFD communication 155 with the MFP 51 by using the SSIDreceived from the wearable apparatus 200 indicated by the wearable ID.S520 is an example of causing a second wireless interface to establish asecond wireless communication with an image forming apparatus.

In S525, the terminal application 121 displays a second print button onthe display 102.

In S530, the terminal application 121 determines whether or not it hasaccepted the user operation of selecting the second print button. Theterminal application 121 proceeds to S535 in a case of a positivedetermination in S530 (YES in S530), and ends the process of FIG. 7 in acase of a negative determination in S530 (NO in S530).

In S535, the terminal application 121 sends the image data correspondingto the thumbnail selected in S315 and the print instruction of the imagedata, to the MFP 51 via the communication established in S408 or S520.The image data in S535 is a concept including information (e.g., URL,etc.) that has the MFP 51 download the image data.

In S540, the MFP 51 causes the printer 19 to execute a print of theimage represented by the received image data.

In S545, the terminal application 121 determines whether or not it hasaccepted a selection of a registration button via the user I/F 104. Theterminal application 121 proceeds to S550 in a case of a positivedetermination in S545 (YES in S545), and ends the process of FIG. 7 in acase of a negative determination in S545 (NO in S545). In S550, theterminal application 121 stores, in the memory 109, the SSID, the modelname, and the IP address received from the wearable apparatus 200 inassociation with one another.

(Effect of First Embodiment)

In the first embodiment, the first communication terminal apparatus 100does not comprise an NFC communication I/F. Here, by using the wearableapparatus 200, the user of the first communication terminal apparatus100 can instruct the MFP 51 to print.

By bringing the wearable apparatus 200 that has registered the terminalapplication 121 close to the MFP 51, the user of the first communicationterminal apparatus 100 can instruct the MFP 51 to print.

The user of the first communication terminal apparatus 100 can instructthe MFP 51 to print by using the wearable application 221 provided bythe manufacturer of the terminal application 121.

The user of the first communication terminal apparatus 100 can instructthe MFP 51 to print by using the wearable application 221 provided bythe manufacturer of the MFP 51.

The user of the first communication terminal apparatus 100 can control atiming of the print instruction to the MFP 51 to which the wearableapparatus 200 has been brought close, at a first communication terminalapparatus 100 side.

The user of the first communication terminal apparatus 100 can control,after bringing the wearable apparatus 200 close to the MFP 51, thetiming of the print instruction at the first communication terminalapparatus 100 side.

Even in a case where the first communication terminal apparatus 100sends the SSID sending instruction when the wearable apparatus 200 isnot yet brought close to the MFP 51, the user of the first communicationterminal apparatus 100 can understand that the wearable apparatus 200should be brought close to the MFP 51 and then the print instructionshould be given to the MFP 51.

Here, the user of the first communication terminal apparatus 100 caninstruct the MFP 51 to print via the wearable apparatus 200 that hasbeen brought close to the MFP 51 by instructing the terminal application121 to select an image and use the wearable apparatus 200.

The user of the first communication terminal apparatus 100 can instructthe MFP 51 to print by bringing the wearable apparatus 200 which hasbeen resistered in the terminal application 121 close to the MFP 51.

The user of the first communication terminal apparatus 100 can give theprint instruction to the MFP 51, to which the wearable apparatus 200 hasbeen brought close, at a timing after confirmation of contents of theimage to be printed.

Even when the wearable application 221 has not been activated inadvance, the user of the first communication terminal apparatus 100 caninstruct the MFP 51 to print from the first communication terminalapparatus 100 via the wearable application 221.

Once the user of the first communication terminal apparatus 100 hasinstructed the MFP 51 via the wearable apparatus 200 to print, the userof the first communication terminal apparatus 100 can become able togive the print instruction, not via the wearable apparatus 200, from thefirst communication terminal apparatus 100 to the MFP 51 thereafter.

Second Embodiment

An SSID receiving process of a second embodiment will be described usingFIGS. 8, 9. S610, S615 are respectively the same as S210, S215 of FIG.4.

In S620, the wearable application 221 receives the terminal URL, theSSID, the model name, and the IP address from the MFP 51 via the NFCcommunication 145. In S625 to S650 of FIG. 6, the wearable application221 performs the same operations as S120 to S130 of FIG. 3, and S450 toS460 of FIG. 6.

In S655, the wearable application 221 determines whether or not aplurality of apparatus IDs is stored in the memory 209. The wearableapplication 221 proceeds to S660 in a case of a positive determinationin S655 (YES in S655), and proceeds to S670 in a case of a negativedetermination in S655 (NO in S655).

In S660, the wearable application 221 displays, on the display 203, theID selection screen including the plurality of apparatus IDs that havebeen stored. In S665, the wearable application 221 accepts the useroperation of selecting the terminal ID of the MFP 51 from among the oneor more apparatus IDs.

In S670, the wearable application 221 sends the SSID, the model name,the IP address, the terminal URL, the wearable ID, and the executinginstruction, via the BT communication I/F 225, to the firstcommunication terminal apparatus 100 identified by the terminal ID.

In S710 of FIG. 9, the first communication terminal apparatus 100determines whether or not the terminal application 121 indicated by theterminal URL received in S670 of FIG. 8 is running. The firstcommunication terminal apparatus 100 proceeds to S715 in a case of apositive determination in S710 (YES in S710), and proceeds to S713 in acase of a negative determination in S710 (NO in S710).

In S713, the first communication terminal apparatus 100 activates theterminal application 121 and, in S715, supplies the information receivedin S670 of FIG. 8 to the terminal application 121. S720, S725 are thesame as S510, S515 of FIG. 7.

In S730, the terminal application 121 stores the SSID, the model name,and the IP address.

A print process of the second embodiment will be described using FIG.10. S815 is the same as S520 of FIG. 7. In S820, the terminalapplication 121 determines whether or not image data has been selected.The terminal application 121 proceeds to S840 in a case of a positivedetermination in S820 (YES in S820), and proceeds to S830 in a case of anegative determination in S820 (NO in S820). S830, S835 are respectivelythe same as S310, S315 of FIG. 5.

In S840, the terminal application 121 displays, on the display 203, apreview image of the selected image data, and a third print button.

In S845, the terminal application 121 determines whether or not thethird print button has been selected. The terminal application 121proceeds to S850 in a case of a positive determination in S845 (YES inS845), and ends the process of FIG. 10 in a case of a negativedetermination in S845 (NO in S845). S850 to S860 are the same as S535 toS550 of FIG. 7.

(Effect of Second Embodiment)

The user of the first communication terminal apparatus 100 can give theprint instruction to the MFP 51 by selecting an image in the terminalapplication 121 after bringing the wearable apparatus 200 close to theMFP 51.

Even when the terminal application 121 has not been activated inadvance, the user of the first communication terminal apparatus 100 caninstruct the MFP 51 to print from the first communication terminalapparatus 100 via the wearable apparatus 200.

Third Embodiment

An SSID receiving process of the third embodiment will be describedusing FIG. 11. In S905, the first communication terminal apparatus 100activates the terminal application 121 via an operation by the user.S906, S907, S908 are the same as S830, S835, S840. In S909, the secondcommunication terminal apparatus 300 has the terminal application 121running via an operation by the user, but has not selected image data.S910 to S935 are respectively the same as S610 to S640 of FIG. 8.Notably, the terminal application 121 is programmed so as to become in astate of being able to execute the process of S965 and the subsequentprocesses by executing S908.

In S940, the wearable application 221 reads out the one or moreregistered apparatus IDs. The one or more registered apparatus IDsinclude the terminal ID and an ID of the second communication terminalapparatus 300. S945 is the same as S460 of FIG. 6.

In S950, the wearable application 221 sends, via the BT communicationI/F 225, the terminal URL, the SSID, the model name, the IP address, thewearable ID, and the executing instruction to one or more apparatuses(i.e., the communication terminal apparatuses 100, 300) identified bythe one or more apparatus IDs.

Since the image data has been selected in the case of the firstcommunication terminal apparatus 100, the first communication terminalapparatus 100 executes S965, S970. Since the image data has not beenselected in the case of the second communication terminal apparatus 300,the second communication terminal apparatus 300 does not execute S965,S970. S965, S970 are respectively the same as S515, S550 of FIG. 7.Notably, each of the first communication terminal apparatus 100 and thesecond communication terminal apparatus 300 which have received theinformation sent in S950 may have a configuration that determineswhether or not the image data has been selected and, in a case where theimage data has been selected, executes S965, S970.

(Effect of Third Embodiment)

By selecting an image in only the terminal application 121 of the firstcommunication terminal apparatus 100, and then bringing the wearableapparatus 200 close to the MFP 51, the user of the first communicationterminal apparatus 100 and the second communication terminal apparatus300 can give the print instruction to the MFP 51 from only the firstcommunication terminal apparatus 100 without performing any other extraoperation.

(Modifications)

“Connection information” is not limited to the SSID of the WFD network,but may be an SSID of a network formed by an access point. Further,“second wireless communication” may be a Wi-Fi communication via anaccess point.

“Image forming apparatus” is not limited to the MFP 51, but may be aso-called single function printer, etc. that does not comprise ascanner. Furthermore, the “image forming apparatus” may be any apparatuscapable of executing an image forming process regardless of whether animage to be formed is planar or three dimensional. For example, the“image forming apparatus” may be a sewing machine, embroidery machine,molding apparatus, 3D printer, label writer or garment printer.

Instead of the wireless LAN I/F 34, the MFP 51 may comprise a BTcommunication I/F. In this case, the “connection information” may besetting information (apparatus ID of a communication destination, etc.)of a BT communication, and the “second wireless communication” may be aBT communication.

“Short range communication interface” is not limited to the NFCcommunication I/F 226, but may be, for example, a TJ communication I/F,etc. which performs a wireless communication conforming to TransferJet(registered trademark of Sony Corporation) standard.

The NFC communication, the BT communication, and the WFD communicationare an example of a short range wireless communication, a first wirelesscommunication, and a second wireless communication, respectively. TheNFC communication I/F 226 and the BT communication I/F 225 are anexample of a short range communication interface and a wirelessinterface, respectively. The first communication terminal apparatus 100,the wearable apparatus 200, and the MFP 51 are an example of a portableapparatus, a short range communication apparatus, and an image formingapparatus, respectively. The SSID and the SSID sending instruction arean example of connection information and a sending instruction,respectively. The terminal application 121, the terminal URL, theterminal ID, and the wearable URL are an example of a portable program,portable program identification information,portable-apparatus-identification information, andportable-program-manufacturer-identification information, respectively.The NFC instruction screen is an example of a first screen. S220 of FIG.4, S445 of FIG. 6, S620 of FIG. 8, and S920 of FIG. 11 are examples ofreceiving connection information from an image forming apparatus. S115of FIG. 3 is an example of receiving portable-apparatus-identificationinformation. S235 of FIG. 4 and S460 of FIG. 6 are examples of storingthe received connection information. S475 of FIG. 6, S670 of FIG. 8 andS950 of FIG. 11 are examples of sending the connection information,portable-program-identification information and an executinginstruction. S140 of FIG. 3 is an example of storing the receivedportable-apparatus-identification information. S423 of FIG. 6 and S645of FIG. 8 are examples of determining whether or not theportable-apparatus-identification information is stored. S135 of FIG. 3is an example of determining whether or not the receivedportable-apparatus-identification information includesshort-range-program-manufacturer-identification information. S450 ofFIG. 6, S640 of FIG. 8, and S935 of FIG. 11 are examples of determiningwhether or not portable-program-manufacturer-identification informationhas been received together with the connection information. S425 of FIG.6 is an example of determining whether the connection information isstored or not. S350 of FIG. 5 is an example of receiving a sendinginstruction. S430 of FIG. 6 is an example of causing a display of theshort range communication apparatus to display a first screen.

The BT communication I/F 112 and the wireless LAN I/F 105 are examplesof a first wireless interface and a second wireless interface,respectively. The operation of S315 of FIG. 5, and the operation of S40of FIG. 2 are an example of a first operation and a second operation,respectively. The wearable ID and the first print button are an exampleof short-range-communication-apparatus-identification information and aprint object, respectively. S475 of FIG. 6 is an example of receivingthe connection information from the short range communication apparatus.S520 of FIG. 7 and S815 of FIG. 10 are examples of causing the secondwireless interface to establish the second wireless communication. S535of FIG. 7 and S850 of FIG. 10 are examples of instructing the imageforming apparatus to form the image. S60 of FIG. 2 is an example ofreceiving, via the first wireless interface,short-range-communication-apparatus-identification information. S155 ofFIG. 3 and S550 of FIG. 7 are an example of storing the receivedshort-range-communication-apparatus-identification information andstoring the received connection information, respectively. S335 of FIG.5, S150 of FIG. 3, S510 of FIG. 7, and S325 of FIG. 5 are an example ofdetermining whether theshort-range-communication-apparatus-identification information is storedin the memory or not, determining whether or not the receivedshort-range-communication-apparatus-identification information includesportable-program-maker-identification information, determining whetheror not portable-program-manufacturer-identification information has beenreceived together with the connection information, and determiningwhether the connection information has been stored or not, respectively.S350 of FIG. 5 is an example of sending a sending instruction. S320 ofFIG. 5, and S330 of FIG. 5 are an example of causing a display of theportable apparatus to display a preview image of image data and causinga display of the portable apparatus to display a print object,respectively.

What is claimed is:
 1. A non-transitory computer-readable storage medium storing computer-readable instructions for a short range communication apparatus, wherein the short range communication apparatus comprises: a memory; a short range communication interface configured to execute a short range wireless communication with an external apparatus, the short range wireless communication being established by a trigger that a distance between the short range communication interface and the external apparatus becomes equal to or less than a short range distance; and a wireless interface configured to execute a first wireless communication with an external apparatus, the first wireless communication having a longer communication distance than the short range wireless communication, the computer-readable instructions, when executed by a processor of the short range communication apparatus, cause the short range communication apparatus to perform: receiving connection information from an image forming apparatus via the short range wireless communication established between the short range communication interface and the image forming apparatus; and storing the received connection information in the memory, wherein the connection information is necessary information for a portable apparatus to execute a second wireless communication with the image forming apparatus, the portable apparatus is an apparatus capable of executing a portable program for instructing the image forming apparatus to form an image via the second wireless communication, the second wireless communication has a longer communication distance than the short range wireless communication; and the computer-readable instructions cause the short range communication apparatus to further perform sending the connection information, portable-program-identification information, and an executing instruction to the portable apparatus via the wireless interface, the portable-program-identification information being information for identifying the portable program, the executing instruction being an instruction for the portable program to establish the second wireless communication with the image forming apparatus using the connection information.
 2. The non-transitory computer-readable storage medium as in claim 1, wherein the computer-readable instructions cause the short range communication apparatus to further perform: receiving portable-apparatus-identification information from the portable apparatus via the wireless interface; and storing the received portable-apparatus-identification information in the memory; and determining whether or not the portable-apparatus-identification information is stored in the memory; and wherein the portable-apparatus-identification information is information for identifying the portable apparatus, and the connection information, the portable-program-identification information and the executing instruction are sent via the wireless interface to the portable apparatus that is identified by the portable-apparatus-identification information in response to the determining that the portable-apparatus-identification information is stored in the memory.
 3. The non-transitory computer-readable storage medium as in claim 2, wherein the computer-readable instructions cause the short range communication apparatus to further perform determining whether or not the received portable-apparatus-identification information includes short-range-program-manufacturer-identification information indicating a manufacturer of the non-transitory computer-readable storage medium, and the portable-apparatus-identification information is stored in the memory in response to the determining that the portable-apparatus-identification information includes the short-range-program-manufacturer-identification information.
 4. The non-transitory computer-readable storage medium as in claim 1, wherein the computer-readable instructions cause the short range communication apparatus to further perform determining whether or not portable-program-manufacturer-identification information indicating a manufacturer of the portable program has been received together with the connection information received from the image forming apparatus via the short range wireless communication, wherein the connection information, the portable-program-identification information and the executing instruction are sent via the wireless interface to the portable apparatus in response to the determining that the portable-program-manufacturer-identification information has been received.
 5. The non-transitory computer-readable storage medium as in claim 1, wherein the computer-readable instructions cause the short range communication apparatus to further perform: receiving portable-apparatus-identification information for identifying the portable apparatus from the portable apparatus via the wireless interface; storing the received portable-apparatus-identification information in the memory; receiving, from the portable apparatus via the wireless interface, a sending instruction for instructing sending of the connection information; and determining, based on the portable-apparatus-identification information, whether or not the sending instruction has been received from the portable apparatus that is identified by the portable-apparatus-identification information stored in the memory, and the connection information, the portable-program-identification information and the executing instruction are sent to the portable apparatus via the wireless interface in response to the receiving of the connection information from the image forming apparatus via the short range wireless communication and the determining that the sending instruction has been received from the portable apparatus identified by the portable-apparatus-identification information.
 6. The non-transitory computer-readable storage medium as in claim 5, wherein the computer-readable instructions cause the short range communication apparatus to further perform determining whether or not the connection information is stored in the memory or not in response to the receiving of the sending instruction from the portable apparatus, and in a case where it is determined that the connection information is stored in the memory, the connection information that is stored in the memory, the portable-program-identification information, and the executing instruction are sent to the portable apparatus via the wireless interface.
 7. The non-transitory computer-readable storage medium as in claim 6, wherein the computer-readable instructions cause the short range communication apparatus to further perform in response to the determining that the connection information is not stored in the memory, causing a display of the short range communication apparatus to display a first screen suggesting making a distance between the short range communication apparatus and the image forming apparatus equal to or less than the short range distance, and the connection information is received from the image forming apparatus via the short range communication interface in response to the short range wireless communication being established after the first screen has been displayed.
 8. The non-transitory computer-readable storage medium as in claim 1, wherein the portable-program-identification information is information for instructing an operating system installed in the portable apparatus to activate the portable program installed in the portable apparatus.
 9. A non-transitory computer-readable storage medium storing computer-readable instructions for a portable apparatus, wherein the portable apparatus comprises: a memory; a user interface; a first wireless interface configured to execute a first wireless communication with an external apparatus, the first wireless communication having a longer communication distance than a short range wireless communication; and a second wireless interface configured to execute a second wireless communication with an external apparatus, the second wireless communication having a longer communication distance than the short range wireless communication, the computer-readable instructions, when executed by a processor of the portable apparatus, cause the portable apparatus to perform: accepting a first operation for instructing an image forming apparatus to form an image via the user interface; and accepting a second operation via the user interface, wherein the second operation is an operation for instructing to execute the second wireless communication with the image forming apparatus via the second wireless interface using connection information received from a short range communication apparatus, the short range communication apparatus is an apparatus which obtains the connection information from the image forming apparatus via the short range wireless communication, the computer-readable instructions cause the portable apparatus to further perform: receiving the connection information from the short range communication apparatus via the first wireless interface; causing the second wireless interface to establish the second wireless communication with the image forming apparatus using the connection information in response to the receiving of the connection information, the accepting of the first operation, and the accepting of the second operation; and instructing the image forming apparatus to form the image via the second wireless interface establishing the second wireless communication.
 10. The non-transitory computer-readable storage medium as in claim 9, wherein the computer-readable instructions cause the portable apparatus to further perform: receiving, via the first wireless interface, short-range-communication-apparatus-identification information identifying the short range communication apparatus; storing the received short-range-communication-apparatus-identification information in the memory; and determining whether the short-range-communication-apparatus-identification information is stored in the memory or not, and the second wireless interface is caused to establish the second wireless communication with the image forming apparatus using the connection information received from the short range communication apparatus indicated by the short-range-communication-apparatus-identification information in response to the determining that the short-range-communication-apparatus-identification information is stored in the memory.
 11. The non-transitory computer-readable storage medium as in claim 10, wherein the computer-readable instructions cause the portable apparatus to further perform determining whether or not the received short-range-communication-apparatus-identification information includes portable-program-maker-identification information indicating a manufacturer of the non-transitory computer-readable storage medium, and the short-range-communication-apparatus-identification information is stored in the memory in response to the determining that the short-range-communication-apparatus-identification information includes the portable-program-manufacturer-identification information.
 12. The non-transitory computer-readable storage medium as in claim 9, wherein the computer-readable instructions cause the portable apparatus to further perform determining whether or not portable-program-manufacturer-identification information indicating a manufacturer of the non-transitory computer-readable storage medium has been received together with the connection information received from the short range communication apparatus via the first wireless interface, and the second wireless interface is caused to establish the second wireless communication with the image forming apparatus using the connection information in response to the determining that the portable-program-manufacturer-identification information has been received.
 13. The non-transitory computer-readable storage medium as in claim 10, wherein the computer-readable instructions cause the portable apparatus to further perform sending, via the first wireless interface, a sending instruction for instructing sending of the connection information to the short range communication apparatus identified by the short-range-communication-apparatus-identification information stored in the memory, and the connection information is received from the short range communication apparatus via the first wireless interface after the sending instruction has been sent to the short range communication apparatus.
 14. The non-transitory computer-readable storage medium as in claim 13, wherein the computer-readable instructions cause the portable apparatus to further perform: causing a display of the portable apparatus to display a preview image of image data in response to accepting the first operation for selecting the image data; and determining whether the short-range-communication-apparatus-identification information is stored in the memory or not in response to accepting the first operation, and the sending instruction is sent in response to the determining that the short-range-communication-apparatus-identification information is stored in the memory.
 15. The non-transitory computer-readable storage medium as in claim 13, wherein the sending instruction is information for instructing an operating system installed in the short range communication apparatus to activate a short range program installed in the short range communication apparatus, and the short range program is a program for receiving the connection information from the image forming apparatus via the short range wireless communication.
 16. The non-transitory computer-readable storage medium as in claim 13, wherein the computer-readable instructions cause the portable apparatus to further perform causing a display of the portable apparatus to display a preview image of image data in response to accepting the first operation for selecting the image data, and in response to the receiving of the connection information from the short range communication apparatus after the preview image has been displayed in the display, the second wireless interface is caused to establish the second wireless communication and the image forming apparatus is instructed to form the image.
 17. The non-transitory computer-readable storage medium as in claim 9, wherein the computer-readable instructions cause the portable apparatus to further perform: storing the received connection information in a memory of the portable apparatus; determining whether the connection information has been stored or not when image data being a target of communication is selected; and causing a display of the portable apparatus to display a print object for causing the image forming apparatus to execute print of an image represented by the image data in a case where it is determined that the connection information has been stored, the image forming apparatus being capable of establishing the second wireless communication by the stored connection information.
 18. A system comprising a short range communication apparatus and a portable apparatus, wherein the short range communication apparatus comprises: a short range communication interface configured to execute a short range wireless communication with an external apparatus, the short range wireless communication being established by a trigger that a distance between the short range communication interface and the external apparatus becomes equal to or less than a short range distance; a wireless interface configured to execute a first wireless communication with an external apparatus, the first wireless communication having a longer communication distance than the short range wireless communication; a first processor; and a first memory storing first computer-readable instructions therein, the first computer-readable instructions, when executed by the first processor, causing the short range communication apparatus to perform: receiving connection information from an image forming apparatus via the short range wireless communication established between the short range communication interface and the image forming apparatus; and storing the received connection information in the first memory, wherein the connection information is necessary information for the portable apparatus to execute second wireless communication with the image forming apparatus, the portable apparatus is an apparatus being capable of executing a portable program for instructing the image forming apparatus to form an image via the second wireless communication, and the second wireless communication has a longer communication distance than the short range wireless communication, the first computer-readable instructions cause the short range communication apparatus to further perform sending the connection information, portable-program-identification information, and an executing instruction to the portable apparatus via the wireless interface, the portable-program-identification information being information for identifying the portable program, the executing instruction being an instruction for the portable program to establish the second wireless communication with the image forming apparatus using the connection information, the portable apparatus comprises: a user interface; a first wireless interface configured to execute the first wireless communication; a second wireless interface configured to execute the second wireless communication; a second processor; and a second memory storing second computer-readable instructions therein, the second computer-readable instructions, when executed by the second processor, causing the portable apparatus to perform: accepting, via the user interface, a first operation for instructing the image forming apparatus to form an image; and accepting a second operation via the user interface, wherein the second operation is an operation for instructing to execute the second wireless communication with the image forming apparatus via the second wireless interface using the connection information received from the short range communication apparatus, the second computer-readable instructions cause the portable apparatus to further perform: receiving the connection information from the short range communication apparatus via the first wireless interface; causing the second wireless interface to establish the second wireless communication with the image forming apparatus using the connection information in response to the receiving of the connection information, the accepting of the first operation and the accepting of the second operation; and instructing the image forming apparatus to form the image via the second wireless interface establishing the second wireless communication.
 19. The system as in claim 18, wherein the short range communication apparatus is a wrist band type apparatus, and the portable apparatus is a smart phone or a tablet type apparatus. 